@extends('Layout/layout')
@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("person").className = "e_css";
	}); 
</script>
<link rel="stylesheet" type="text/css" href="/public/css/datedropper.css">
<link rel="stylesheet" type="text/css" href="/public/css/timedropper.min.css">

<style type="text/css">
.demo{margin:80px auto 40px auto;width:320px}
.input{padding:6px;border:1px solid #d3d3d3}
</style>

<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('Personnel/Person/index') }}"><p>员工档案</p></a></li>
<li><a href="{{ url('Personnel/Leave/index') }}"><p>请假申请</p></a></li>
<li><a href="{{ url('Personnel/Adjust/index') }}"><p>职位调整申请</p></a></li>
<li><a href="{{ url('Personnel/Leaveoffice/index') }}"><p>离职申请</p></a></li>
@if(session('role') == 1)
<li><a href="{{ url('Personnel/Recruit/index') }}"><p>人员招聘</p></a></li>
<li><a href="{{ url('Personnel/Performance/index') }}"><p>绩效管理</p></a></li>
<li><a href="{{ url('Personnel/Socialinsurance/index') }}"><p>社保</p></a></li>
<li><a href="{{ url('Personnel/Money/index') }}"><p>工资管理</p></a></li>
@endif
<li><a href="{{ url('Personnel/Training/index') }}"><p>员工培训</p></a></li>
</ul>
</div>
<div class="mian_b">
	<form action="{{url('Personnel/Money/update')}}" method="post">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
			<tr>
				<td width="5%" class="mian_b_bg_lm">&nbsp;</td>
				<td colspan="3" class="mian_b_bg_lm">社保编辑</td>
			</tr>
			<input type="hidden" name="MoneyID" value="{{$MoneyID}}">
			<tr>
				<td>&nbsp;</td>
				<td width="10%" valign="top">员工姓名：</td>
				<td width="60%">{{$info[0]['PersonName']}}</td>
				<td width="25%">&nbsp;</td>
			</tr> 
			<tr>
			<td>&nbsp;</td>
			<td width="10%" valign="top">日期：</td> 
			<td width="60%">
			    <input type="text" class="input_01" id="pickdate" name="Year" value="{{$info[0]['Year']}}" />
			</div> </td>
			<td width="25%">&nbsp;</td>
			</tr>
			<script type="text/javascript" src="/public/js/jquery-1.12.3.min.js"></script>
			<script src="/public/js/datedropper.min.js"></script>
			<script src="/public/js/timedropper.min.js"></script>
			<script>
			$("#pickdate").dateDropper({
			    animate: false,
			    format: 'Y-m-d',
			    maxYear: '2020'
			});

</script> 


<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">基本工资：</td>
<td width="60%">
<input type="text" name="BasicMoney" value="{{$info[0]['BasicMoney']}}"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">工龄工资：</td>
<td width="60%">
<input type="text" name="WorkAge" value="{{$info[0]['WorkAge']}}" class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr>

<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">薪级工资：</td>
<td width="60%">
<input type="text" name="RankMoney" value="{{$info[0]['RankMoney']}}" class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" value="编辑"></td>
				<td>&nbsp;</td>
			</tr>
		</table>
		{{ csrf_field()}}
	</form>
</div>
</div>
</body>
@endsection